<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>SpiderFlow</title>
		<script type="text/javascript" src="js/layui/layui.all.js" ></script>
		<script type="text/javascript" src="js/common.js" ></script>
		<style type="text/css">
			html,body,.log-container{
				width : 100%;
				height : 100%;
				font-weight: bold;
			    font-family: Consolas;
			    font-size: 12px;
			}
		</style>
	</head>
	<div class="log-container"></div>
	<script type="text/javascript">
		var id = getQueryString('id');
		layui.$.ajax({
			url : 'spider/log',
			data : {
				id : id
			},
			dataType : 'text',
			success : function(content){
				layui.$('.log-container').html(content.replace(/\n/g,'<br>').replace(/ /g,'&nbsp;').replace(/\t/g,'&nbsp;&nbsp;&nbsp;&nbsp;'));
			}
		})
	</script>
</html>